<?php
$class_home 	= "";
$class_property = "";
$class_news 	= "";
$class_faq		= "";
$class_search 	= "";

switch($params[0]) {

    case $CONFIG_MODULE["property"]: {
            $class_property = "class='current'";
            break;
    }case
    $CONFIG_MODULE["news"]  : {
            $class_news     = "class='current'";
            break;
    }case
    $CONFIG_MODULE["faq"]   : {
            $class_faq	    = "class='current'";
            break;
    }case
    $CONFIG_MODULE["search"]: {
            $class_search   = "class='current'";
            break;
    }default
    : {            $class_home     = "class='current'";
            break;
        }
}

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>[page_title]</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name = "keywords" content = "[meta_keyword]"/>
        <meta name = "description" content = "[page_title]. [meta_description]"/>
        <link href="<?php echo SITE_CSS_URL; ?>/ancu.css" type="text/css" rel="stylesheet" />
        <link href="<?php echo SITE_CSS_URL; ?>/menu_style.css" type="text/css" rel="stylesheet" />
        <!--[if IE]>
        <style type="text/css">
        #menubar ul {display:inline-block;}
        #menubar ul {display:inline;}
        #menubar ul li {float:left;}
        #menubar {text-align:left;}
        </style>
        
        <![endif]-->
         <script type="text/javascript" src="<?php echo SITE_JS_URL; ?>/jquery.js"></script>
          <script type="text/javascript" src="<?php echo SITE_JS_URL; ?>/jquery.js"></script>
        <script type="text/javascript" src="<?php echo SITE_JS_URL; ?>/jquery-1.2.6.min.js"></script>
        <script type="text/javascript" src="<?php echo SITE_JS_URL; ?>/jquery.easing.1.2.js"></script>
        <script type="text/javascript" src="<?php echo SITE_JS_URL; ?>/jquery.anythingslider.js"></script>
        <script type="text/javascript" src="<?php echo SITE_JS_URL; ?>/menu-header.js"></script>
        <script type="text/javascript" src="<?php echo SITE_JS_URL; ?>/droplist.js"></script>
<script type="text/javascript" src="<?php echo SITE_JS_URL; ?>/contentslider.js"></script>
        <script type="text/javascript">
            var AJAX_PROCESS_URL = '<?php echo AJAX_PROCESS_URL; ?>';
        </script>

        <script type="text/javascript">

            function formatText(index, panel) {
                return index + "";
            }

            $(function () {

                $('.anythingSlider').anythingSlider({
                    easing: "easeInOutExpo",        // Anything other than "linear" or "swing" requires the easing plugin
                    autoPlay: true,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not.
                    delay: 2500,                    // How long between slide transitions in AutoPlay mode
                    startStopped: false,            // If autoPlay is on, this can force it to start stopped
                    animationTime: 600,             // How long the slide transition takes
                    hashTags: true,                 // Should links change the hashtag in the URL?
                    buildNavigation: false,          // If true, builds and list of anchor links to link to each slide
                    pauseOnHover: true,             // If true, and autoPlay is enabled, the show will pause on hover
                    startText: "Go",             // Start text
                    stopText: "Stop",               // Stop text
                    navigationFormatter: formatText       // Details at the top of the file on this use (advanced use)
                });

                $("#slide-jump").click(function(){
                    $('.anythingSlider').anythingSlider(6);
                });

            });
        </script>

    </head>

    <body>
        <div class="toppage">
            <div class="header">
                <div class="header_in">

                </div>
                <div style="margin-top:5px ">
                    <div class="menu">
		<ul >
                        <li <?php echo $class_home; ?> ><a href="<?php echo SITE_URL; ?>" >Trang chủ</a></li>
                        <li >
                            <a href="#" >Giới thiệu</a>
                            <ul>
                                <li ><a href="#">Tập đoàn TSQLand Finace Group</a></li>
                                <li ><a href="#">Sàn giao dịch BĐS TSQLand</a></li>
                                <li><a href="#">Vai trò của sàn BĐS</a></li>
                            </ul>
                        </li>
                        <li <?php echo $class_news; ?> >
                            <a href="<?php echo get_link("news");?>" >Tin tức</a>
                            <ul>
                                <li ><a href="">Tin thị trường</a></li>
                                <li ><a href="">Chính sách & Thủ tục</a></li>
                                <li ><a href="">Qui hoạch</a></li>
                                <li ><a href="">Sự kiện BĐS</a></li>
                                <li ><a href="">Việt kiều cần biết</a></li>
                                <li ><a href="">Nhìn ra thế giới</a></li>
                                <li ><a href="">Thống kê & báo cáo</a></li>
                                <li ><a href="">Ý kiến bạn đọc</a></li>
                            </ul>
                        </li>
                        <li <?php echo $class_property; ?>><a href="<?php echo get_link("property"); ?>">Sản phẩm giao dịch</a></li>
                        <li <?php echo $class_project; ?> ><a href=""  >Thông tin dự án</a></li>
                        <li <?php echo $class_document; ?> ><a href="" >Văn bản luật</a></li>
                        <li <?php echo $class_faq; ?> ><a href="<?php echo get_link("faq"); ?>" >Hỏi đáp</a></li>
                        <li <?php echo $class_contact; ?> ><a href="" >Liên hệ</a></li>
                    </ul>

                    <ul style="display: none">
                        <li <?php echo $class_property; ?> ><a href="<?php echo get_link("property"); ?>" title="Sàn BĐS"><b>Sàn BĐS</b></a></li>
                        <li <?php echo $class_news; ?> ><a href="<?php echo get_link("news");?>" title="Tin tức"><b>Tin tức</b></a></li>
                        <li <?php echo $class_faq; ?> ><a href="<?php echo get_link("faq"); ?>" title="Hướng dẫn"><b>Hướng dẫn</b></a></li>
                        <li <?php echo $class_search; ?> ><a href="<?php echo get_link("search");?>" title="Tìm kiếm"><b>Tìm kiếm</b></a></li>
                    </ul>


                    <ul id="menu" style="display: none">
                        <li style="width:80px" class="menulink"><a href="">Trang chủ</a></li>
                        <li style="width:100px" class="menulink"><a href="">Giới thiệu</a>
                            <ul >
                                <li ><a href="" >Tập đoàn TSQLand Finace Group</a></li>
                                <li ><a href="" >Sàn giao dịch BĐS TSQLand</a></li>
                                <li ><a href="">Vai trò của sàn BĐS</a></li>
                            </ul>
                        </li>
                        <li style="width:80px" class="menulink"><a href="" >Tin tức</a>
                            <ul>
                                <li><a href="">Tin thị trường</a></li>
                                <li><a href="">Chính sách & Thủ tục</a></li>
                                <li><a href="">Qui hoạch</a></li>
                                <li><a href="">Sự kiện BĐS</a></li>
                                <li><a href="">Việt kiều cần biết</a></li>
                                <li><a href="">Nhìn ra thế giới</a></li>
                                <li><a href="">Thống kê & báo cáo</a></li>
                                <li><a href="">Ý kiến bạn đọc</a></li>

                            </ul>
                        </li>
                        <li ><a href=""  class="menulink">Sản phẩm giao dịch</a></li>
                        <li style="width:120px"><a href=""  class="menulink">Thông tin dự án</a></li>
                        <li style="width:110px"><a href="" class="menulink">Văn bản luật</a></li>
                        <li style="width:70px"><a href="" class="menulink">Hỏi đáp</a></li>
                        <li style="width:70px"><a href="" class="menulink">Liên hệ</a></li>
                    </ul>
	</div>
                <div class="formlogin">
                    <img src="<?php echo SITE_IMAGES_URL; ?>/iconlog.png" /><a href="<?php echo get_link("register").".html";?>" title="Đăng ký">Đăng ký</a><font color="#298cc1">l</font><img src="<?php echo SITE_IMAGES_URL; ?>/iconreg.png" /><a href="#">Đăng nhập</a>
                </div>
            </div>
        </div>

        <div class="container">

